home *** CD-ROM | disk | FTP | other *** search
/ Total NET Advanced Server 5.3 R1 / TotalNET Advanced Server v5.3 r1.iso / TAS / irix6_5 / TAS.idb / usr / share / catman / local / cat1 / tnchmod.1.z / tnchmod.1
Encoding:
Text File  |  1998-09-28  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. tnchmod(1)                                             tnchmod(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        tnchmod - change or assign the mode of a file or directory
  9.        in a manner similar to that of the UNIX  "chmod"  command,
  10.        as  well  as change the mode of the corresponding TotalNET
  11.        Advanced Server (TAS) shadow file for the file  or  direc-
  12.        tory
  13.  
  14.  
  15. LLOOCCAATTIIOONN
  16.        TNHOME/usr/bin
  17.  
  18.  
  19. SSYYNNOOPPSSIISS
  20.        tnchmod [-f] [-i] [-R] _a_b_s_o_l_u_t_e___m_o_d_e _f_i_l_e_s_._._.
  21.        tnchmod [-f] [-i] [-R] _s_y_m_b_o_l_i_c___m_o_d_e___l_i_s_t _f_i_l_e_s_._._.
  22.  
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.        This  command  changes  or  assigns  the mode of a file or
  26.        directory in a manner similar to that of the UNIX  "chmod"
  27.        command,  as well as changes the mode of the corresponding
  28.        TotalNET Advanced Server (TAS) shadow file for the file or
  29.        directory.  For more information, refer to the "chmod" man
  30.        page.
  31.  
  32.  
  33.  
  34. OOPPTTIIOONNSS
  35.        -f             Prevent "tnchmod" from printing error  mes-
  36.                       sages  even  when  it  fails  to change the
  37.                       mode.
  38.  
  39.  
  40.        -i             Cause "tnchmod" to prompt for  confirmation
  41.                       before  changing  the  mode  of  a  file or
  42.                       directory.
  43.  
  44.  
  45.        -R             Cause "tnchmod"  to  change  the  mode  and
  46.                       shadow  file information of a directory and
  47.                       every file and directory under that  direc-
  48.                       tory.
  49.  
  50.  
  51.  
  52. OOPPEERRAANNDDSS
  53.        _a_b_s_o_l_u_t_e___m_o_d_e  A four-digit octal umask mode.
  54.  
  55.  
  56.        _f_i_l_e_s_._._.       The  paths  of  files  or directories whose
  57.                       modes you want to modify.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. tas-ss-5.3.0                1998/06/17                          1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. tnchmod(1)                                             tnchmod(1)
  71.  
  72.  
  73.        _s_y_m_b_o_l_i_c___m_o_d_e___l_i_s_t
  74.                       A list of symbolic expressions in the  fol-
  75.                       lowing  format,  where  _w_h_o  represents the
  76.                       characters "u", "g", "o", and/or "a"; _o_p_e_r_-
  77.                       _a_t_o_r  designates  the  way you want permis-
  78.                       sions to change, with "+", "-", or "="; and
  79.                       _p_e_r_m_i_s_s_i_o_n_s  represents any compatible com-
  80.                       bination of "r", "w", "x",  "l",  "s",  and
  81.                       "t":
  82.  
  83.                              _[_w_h_o_] _o_p_e_r_a_t_o_r _[_p_e_r_m_i_s_s_i_o_n_s_]
  84.  
  85.  
  86.  
  87. EEXXAAMMPPLLEESS
  88.        To  change  the  mode of the file "userlist.doc" to "read"
  89.        and "write" permissions for the owner and "read-only" per-
  90.        missions for others:
  91.  
  92.               tnchmod 644 userlist.doc
  93.  
  94.  
  95.        To add "write" permissions for everyone to the files "pre-
  96.        sent.doc" and "schedule.doc" and the directory "mgmt":
  97.  
  98.               tnchmod a+w present.doc schedule.doc mgmt
  99.  
  100.  
  101.        To change the permission of the  file  "log.nw"  to  "777"
  102.        without receiving any error messages:
  103.  
  104.               tnchmod -f 777 log.nw
  105.  
  106.  
  107.        To  change  the  permission  of the file "testplan.doc" to
  108.        "777" and prompt for confirmation before the mode changes:
  109.  
  110.               tnchmod -i 777 testplan.doc
  111.  
  112.  
  113.        To  change  the mode of the directory "marketing", and all
  114.        files and directories under it, to "read" and "write" per-
  115.        missions for everyone:
  116.  
  117.               tnchmod -R a+r+w marketing
  118.  
  119.  
  120.  
  121. SSEEEE AALLSSOO
  122.        chmod(1), tnchown(1), tnchgrp(1)
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. tas-ss-5.3.0                1998/06/17                          2
  131.  
  132.  
  133.